package org.cangku.dao;

import org.apache.ibatis.annotations.Param;
import org.cangku.pojo.PJshopInfo;

import java.util.List;

public interface PJShopInfoDao {
    /*查询所有*/
    public List<PJshopInfo> getAll();
    /*根据名称获得数量*/
    public int getByNameCount(@Param("sName") String sName,@Param("typeid") int typeid);
    /*分页模糊查询*/
    public List<PJshopInfo> query(@Param("sName") String sName, @Param("typeid") int typeid, @Param("offset") int offset, @Param("limit") int limit);
}
